package iterator;

import global.AttrType;
import global.TupleOrder;
import heap.Tuple;

import java.io.IOException;

public class ExternalSorting  extends Sort{

	public ExternalSorting(AttrType[] in, short len_in, short[] str_sizes,
			Iterator am, int sort_fld, TupleOrder sort_order, int sort_fld_len,
			int n_pages) throws IOException, SortException {
		super(in, len_in, str_sizes, am, sort_fld, sort_order, sort_fld_len, n_pages);
	}

	public Tuple get_next() throws IOException, 
	   SortException, 
	   UnknowAttrType,
	   LowMemException, 
	   JoinsException,
	   Exception
	{
		return null;
	}
	
	  /**
	   * Cleaning up, including releasing buffer pages from the buffer pool
	   * and removing temporary files from the database.
	   * @exception IOException from lower layers
	   * @exception SortException something went wrong in the lower layer. 
	   */
	  public void close() throws SortException, IOException
	  {
	  } 
	
}
